{extend name='layout/main'}
{block name='body'}
<div class="main">
    <section class="spotlight parallax bg-cover bg-size--cover" data-spotlight="fullscreen">
        <div class="container align-items-center no-padding">
            {if !$third}
            <div class="alert alert-danger" role="alert">
                微信账户未绑定，<a class="text-white" href="{:__u('bindopenid')}">立即去绑定？</a>
            </div>
            {/if}
            <div class="card">
                <div class="card-header">我的会员信息</div>
                <ul class="list-group list-group-flush">
                    <li class="list-group-item">
                        微信：{$third.nickname}
                    </li>
                    <li class="list-group-item">姓名：￥{$member.realname}</li>
                    <li class="list-group-item">积分：￥{$member.scores}</li>
                    <li class="list-group-item">余额：{$member.money_now}</li>
                    <li class="list-group-item">等级：VIP{$member.level_id}</li>
                    <li class="list-group-item">手机：{$member.mobile}</li>
                </ul>
                <div class="card-body">
                    <a href="{:__u('withdraw')}" class="card-link">提现</a>
                    <a href="{:__u('log')}" class="card-link">记录</a>
                </div>
            </div>
            <a href="{:__u('logout')}" class="btn btn-primary btn-sm text-white">退出登录</a>
        </div>
    </section>
</div>
{/block}